home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2884 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  784 b 

  1. Path: news.cto.us.edu.pl!calkowsk
  2. From: calkowsk@usctoux1.cto.us.edu.pl (Grzegorz Calkowski)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: ds.l
  5. Date: 6 Feb 1996 12:54:12 GMT
  6. Organization: Silesian University, Katowice, Poland
  7. Distribution: world
  8. Message-ID: <4f7j1k$dfs@helios.cto.us.edu.pl>
  9. References: <497.6609T1129T586@mbox3.swipnet.se>
  10. NNTP-Posting-Host: usctoux1.cto.us.edu.pl
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Patrik Nilsson (patrik.nilsson@mbox3.swipnet.se) wrote:
  14. : When using FileInfoBlock it must be long word aligned.
  15. : Q: In asm you have 'ds.l'. Is there any equal in C?
  16.  
  17. You're wrong!! FIB must be on 8 bytes boundary, not 4 bytes! The best way
  18. to achieve that is to use AllocDosObject(), which returns an allocated &
  19. initialized fib for you.
  20.  
  21. See ya,
  22. -Grzegorz
  23.